x86/HVM: emulate with no writes
authorRazvan Cojocaru <rcojocaru@bitdefender.com>
Thu, 18 Sep 2014 12:53:52 +0000 (14:53 +0200)
committerJan Beulich <jbeulich@suse.com>
Thu, 18 Sep 2014 12:53:52 +0000 (14:53 +0200)
commit4ae69fc45c815c32ae0fd6edb2bc159fd9d8a559
treeebc4390b2bef21ea5c02005198394ec95842859c
parentc47c316d99b3b570d0bb968b99331e6714ef1df7
x86/HVM: emulate with no writes

Added support for emulating an instruction with no memory writes.
Additionally, introduced hvm_emulate_one_full(), which inspects
possible return values from the hvm_emulate_one() functions
(EXCEPTION, UNHANDLEABLE) and acts on them.

Signed-off-by: Razvan Cojocaru <rcojocaru@bitdefender.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/hvm/emulate.c
xen/include/asm-x86/hvm/emulate.h